package com.umer.pinban;

import androidx.multidex.MultiDex;
import com.common.CommonApplication;
import com.common.bean.UserInfo;
import com.facebook.drawee.backends.pipeline.Fresco;

public class AppHolder extends CommonApplication {

    private static AppHolder instance;
    public int flag = 0;//0正常页面 1用户支付成功

    public static AppHolder getInstance() {
        return instance;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        MultiDex.install(this);
        Fresco.initialize(this);
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }
}
